﻿CREATE PROCEDURE [dbo].[proc_AppFunction_GetList_Count]
	(
		@CId int,
		@Stext nvarchar(50)
	)
AS
	Select Count(Id) From AppAction Where (@CId=0 Or CId=@CId) and (@Stext is null Or AName like '%'+@Stext+'%')
	RETURN
